package com.sxbbc.common.basics.alipay.config;

import com.sxbbc.common.basics.alipay.util.UtilDate;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *版本：3.3
 *日期：2012-08-10
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。

 *提示：如何获取安全校验码和合作身份者ID
 *1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 *2.点击“商家服务”(https://b.alipay.com/order/myOrder.htm)
 *3.点击“查询合作者身份(PID)”、“查询安全校验码(Key)”

 *安全校验码查看时，输入支付密码后，页面呈灰色的现象，怎么办？
 *解决方法：
 *1、检查浏览器配置，不让浏览器做弹框屏蔽设置
 *2、更换浏览器或电脑，重新登录查询。
 */

public class AlipayConfig {

    //↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
    public static String appid="2019042764330232";

    //应用公钥
    public static String ali_public_key  = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnl8+vFns+/oDAKUE4EpvqV6V6eijMlerkPU8Z1bc6/3kSPvLKMh9flPjuwBjMd3mxVK0gBVlN+3jECgdSBi4cI3yEEEPRcNdhOCHuOrCukZMKTKTxvy0G7JksBWt8B+DNVLE6IaJva+nbqID6PVuZWSgw47PhP04U53y6F2Llraeg7maWQBJYb5oKxwCzCjlU/bxeGe2v8u+PIQyq+ft42fKBejSTSRO7verpZD41sTuqdsek4A5KlkiWmnMWxke9MExkFeJaPb4G8eV/gYd/F3oW8g7fF8TIJT5GPkBWzIYF4FUk17wq/r8k2Uwzu4c64kGC6tupqvJnJ4nxJs+pwIDAQAB";
    //↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑

    //应用私钥
    public static String ali_private_key= "MIIEvQIBADANBgkqh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9cyYBlm1MmomBLL0N8aU1FK2EcpIwurhELb9IpgIwxSWNntpIebNmtx9usuVQktGHTmflDjMIUyOPdHzY0SscT7Cj/6NNxJ+/koZ8QuEo8tyZilCMlOIMsCm0qwI9rsHIwVI3FkS+hp6Vde1zrBsltCHoJcydpp59Cf3EcJoP1AoGBAIttt2XSk+KJf5LwHf6N+ZmoH+y6228ipTl7Bvb/iU3pcjUS6FI7T2dfHag9k3AF4SApIy8UTrXhDN4ju2p/AjQoN8MVMaFevsBtpLslRAOXSVHVPNfBWCT+UIXCaTcQHQe58k3rdrptFly9iUcpNRvgC9EIucRh2k697+iZK4mZAoGAbWQQw0uqILIV8YutEpYIAvgHkAOosSd/SDnTFDyihi2W/OXWT4qMik1EQS3e/o9gHZp7m6MYYl0G0kjLgme1tpISu6XsubptDBSMraD300k57uupPg2RTlu3wQLeuWJt23FfjaQxMeNDJvflhVcEmP9EdC0LgZVBkYpHypd3JcU=";


    /**
     * 调试用，创建TXT日志文件夹路径
     */
    public static String LOG_PATH = "/logs/alipay/";


    /**
     * 字符编码格式 目前支持 gbk 或 utf-8
     */
    public static String INPUT_CHARSET = "utf-8";

    /**
     * 返回格式
     */
    public static String FORMAT = "json";

    /**
     * 签名方式 不需修改
     */
    public static String SIGN_TYPE = "RSA";

    public static String REFUND_SIGN_TYPE = "RSA2";

    /**
     * 支付宝网页端调用的接口名，无需修改
     */
    public static String WEB_SERVICE = "create_direct_pay_by_user";

    /**
     * 支付宝手机端端调用的接口名，无需修改
     */
    public static String APP_SERVICE = "mobile.securitypay.pay";
    public static String REFUND_SERVICE = "refund_fastpay_by_platform_pwd";

    public static String MOBILE_SERVICE = "alipay.trade.wap.pay";

    /**
     * 退款日期 时间格式 yyyy-MM-dd HH:mm:ss
     */
    public static String REFUND_DATE = UtilDate.getDateFormatter();

    /**
     * 支付类型 ，无需修改
     */
    public static String PAYMENT_TYPE = "1";

}
